test(sharding): G3 foundation 3 partial 마감 (ShardingMode/ShardsSpec/plugin) - #62
Merged
Merged
Conversation
…lugin) - ShardingMode field round-trip + 값 검증 unit test - ShardsSpec deepcopy + field round-trip unit test - Sharding plugin interface registry contract test (umbrella 신규 — 기존 개별 테스트 보존) - 외부 docs cross-ref: docs/rfcs/0002-shardrange-crd.md (mode 분기), 0004-pg-router-architecture.md (plugin) Refs: plans/2026-05-14-4-operators-100pct/P-D §D.7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
G3 sharding foundation 3 partial sub-task finalize —
ShardingModefield +ShardsSpectopology + sharding plugin interface 모두 unit test 보강 + ROADMAP marker[~]→[x].변경 내용
api/v1alpha1/postgrescluster_types_test.go(신규): TestShardingMode (constants/round-trip/string cmp) + TestShardsSpec (field preservation + DeepCopy + Replicas=0 dev mode)internal/plugin/sharding/api_test.go(확장): TestRegistry_Register_Get / NotFound / Namesv1.0 로드맵 매핑
~/.claude/plans/1-swift-anchor.mdRev 4 §Phase A #2Gate G3 D.8.x 3 sub-task
[~]→[x](control plane finalize)검증 명령
정책 정합
gh api POSTREST direct